Skip to content

Demo notebooks - #29

Merged
mattersoflight merged 16 commits into
3d-augmentationfrom
dlmbl-2023
Aug 12, 2023
Merged

mattersoflight merged 16 commits into
3d-augmentationfrom
dlmbl-2023

Conversation

@ziw-liu

@ziw-liu ziw-liu commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

TODO:

  • Remove hard-coded file path.

@mattersoflight
mattersoflight self-requested a review August 10, 2023 15:23
ziw-liu and others added 4 commits August 10, 2023 11:41
* readme + dependencies tested with python 3.10

* match package description with README

* cellpose (metrics -> required)

* misc formatting and language edits

* fix optional dependency on cellpose

---------

Co-authored-by: Ziwen Liu <ziwen.liu@czbiohub.org>
log_num_samples=10,
)

trainer = VSTrainer(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should write the logs in pwd, such that the folder structure is 04-image-translation/setup.sh, 04-image-translation/viscy, 04-image-translation/lightning_logs, ...

accelerator="gpu", max_epochs=20, log_every_n_steps=10, default_root_dir=""
)

trainer.fit(model, datamodule=data_module)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am seeing this error: PossibleUserWarning: The number of training batches (8) is smaller than the logging interval Trainer(log_every_n_steps=10). et a lower value for log_every_n_steps if you want to see logs for the training epoch.

Following the suggestion.

log_num_samples=10,
)

trainer = VSTrainer(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current logger writes events from two traning runs to the same directory. The tensorboard logs written like this can be confusing for novice.

@mattersoflight
mattersoflight marked this pull request as ready for review August 12, 2023 00:26
@mattersoflight
mattersoflight merged commit da0606f into 3d-augmentation Aug 12, 2023
@ziw-liu
ziw-liu deleted the dlmbl-2023 branch August 12, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants